package Homework.Top2;

import java.util.Arrays;
import java.util.Scanner;

public class Test5 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("请输入字符串");
        String s=in.next();
        byte[] b=s.getBytes();
        char[] c=s.toCharArray();
        System.out.println(Arrays.toString(b));
        System.out.println(Arrays.toString(c));
    }
}
